package org.begincode.core.mapper;

import org.apache.ibatis.annotations.Param;
import org.begincode.core.model.StudyPlan;
import org.begincode.core.model.StudyPlanExample;

import java.util.List;

public interface StudyPlanMapper {
    int countByExample(StudyPlanExample example);

    int deleteByExample(StudyPlanExample example);

    int deleteByPrimaryKey(Integer studyPlanId);

    int insert(StudyPlan record);

    int insertSelective(StudyPlan record);

    List<StudyPlan> selectByExample(StudyPlanExample example);

    StudyPlan selectByPrimaryKey(Integer studyPlanId);

    int updateByExampleSelective(@Param("record") StudyPlan record, @Param("example") StudyPlanExample example);

    int updateByExample(@Param("record") StudyPlan record, @Param("example") StudyPlanExample example);

    int updateByPrimaryKeySelective(StudyPlan record);

    int updateByPrimaryKey(StudyPlan record);
}